package com.snoob.springboot.log.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snoob.springboot.base.BasePageResult;
import com.snoob.springboot.log.entity.SysLogEntity;
import com.snoob.springboot.pipleline.vo.DeleteSysLogVoReq;
import com.snoob.springboot.pipleline.qo.SelectSysLogQo;

/**
 * <p>
 * 系统日志 服务类
 * </p>
 *
 * @author lixing_java@163.com
 * @since 2022-05-17
 */
public interface SysLogService extends IService<SysLogEntity> {
    /**
     * @描述 添加日志
     */
    Long insertSysLog(SysLogEntity entity);

    /**
     * @描述 删除日志
     */
    Boolean deleteSysLog(DeleteSysLogVoReq dto);

    /**
     * @描述 查询日志
     */
    SysLogEntity selectSysLog(SelectSysLogQo qo);

    /**
     * @描述 分页查询日志
     */
    BasePageResult<SysLogEntity> selectSysLogByPage(SelectSysLogQo qo);
}
